package dao.factory;

import dao.UserDao;
import dao.impl.UserDaoImpl;

/**
 * 用户dao工厂，负责用户dao实例的创建工作
 */
public class UserDaoFactory {
    //负责创建用户dao实例的方法
    public static UserDao getInstance(){
        UserDaoImpl dao = new UserDaoImpl();
        return dao;
    }
}
